mips_more_pre-mips32
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Wed, 8 Oct 2014 21:28:23 +0000 (21:28 +0000)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Wed, 8 Oct 2014 21:28:23 +0000 (21:28 +0000)
Gbp-Pq: Name mips_more_pre-mips32.diff

src/corelib/arch/qatomic_mips.h

index 33e705323408ace1a7ed00c846563040ede3ce70..6bcbcc081ac0c3431e42096664a5f34273d3d88b 100644 (file)
@@ -128,7 +128,10 @@ void QBasicAtomicOps<size>::releaseMemoryFence(const T &) Q_DECL_NOTHROW
 template <int size> template <typename T> inline
 void QBasicAtomicOps<size>::orderedMemoryFence(const T &) Q_DECL_NOTHROW
 {
-    asm volatile ("sync 0" ::: "memory");
+    asm volatile (".set push\n"
+                  ".set mips32\n"
+                  "sync 0\n"
+                  ".set pop\n" ::: "memory");
 }
 
 template<> template<typename T> inline